package com.ruoyi.system.rpc;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@FeignClient(value = "python-flask-service",qualifier = "pythonServiceImpl",contextId = "pythonServiceImpl")
@RestController
public interface PythonService {
    @PostMapping("/test/ai")
    Object testAI(@RequestBody Object requestData);

}
